package com.yq.cp.entity.basics;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yq.cp.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 交接班
 * </p>
 *
 * @author shenyuqing
 * @since 2024-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_change_shifts")
public class ChangeShifts extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 接班负责人名
     */
    private String successionHeadName;

    /**
     * 接班负责人id
     */
    private Long successionHeadId;

    /**
     * 交班负责人id
     */
    private Long shiftHandoverHeadId;

    /**
     * 交班负责人名
     */
    private String shiftHandoverHeadName;

    /**
     * 接班安全员id
     */
    private Long successionSecureId;

    /**
     * 接班安全员名
     */
    private String successionSecureName;

    /**
     * 接班值班员id
     */
    private String successionDutyId;

    /**
     * 接班值班员名
     */
    private String successionDutyName;

    /**
     * 注意事项
     */
    private String successionContent;

    /**
     * 图片
     */
    private String photo;

    /**
     * 交班安全员id
     */
    private Long shiftHandoverSecureId;

    /**
     * 交班安全员名
     */
    private String shiftHandoverSecureName;

    /**
     * 交班值班员id
     */
    private String shiftHandoverDutyId;

    /**
     * 交班值班员名
     */
    private String shiftHandoverDutyName;

    /**
     * 0-待交班 1-待接班
     */
    private Integer state;

    /**
     * 交接班时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date times;


}
